package ezxpns.util;

public class Command<TData extends Copyable<TData>>
{
	private String action;
	private TData data;
	public Command(String action2,TData data2)
	{
		action=action2;
		data=data2;
	}
	public String getAction()
	{
		return action;
	}
	public TData getData()
	{
		return data;
	}
	public Command<TData> copy()
	{
		return new Command<TData>(action,data.copy());
	}
}
